import java.sql.Connection;
import java.sql.DriverManager;

public class IngConn {

	/**
	 *  export CLASSPATH=.:/tmp/ingconn/iijdbc.jar 
	 */
	public static void main(String[] args) {
		Connection conn;
		try {
			System.out.println("### INIT CONN...");
			Class.forName("com.ingres.jdbc.IngresDriver");
			String ingresTarget = "jdbc:ingres://pam-uat.base2services.com:b27/demodb";
			conn = DriverManager
					.getConnection(ingresTarget, "ingres", "ingres");
			System.out.println("### Setting Ingres Conn..." + conn);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}

}
